package com.choudou5.solr.framework.constants;

/**
 * @name 菜单枚举
 * @author choudou5
 * @date 2018-7-16
 */
public enum MenuEnum {

    searchOptimize("A100", "搜索优化列表", "/adminConsole/searchOptimize/pageList"),
    addElevate("A100", "新增竞价排名", "/adminConsole/searchOptimize/addElevate"),
    elevateList("A100", "竞价列表", "/adminConsole/searchOptimize/elevateList"),
    ;

    MenuEnum(String code, String desc, String page) {
        this.code = code;
        this.desc = desc;
        this.page = page;
    }

    MenuEnum(String code, String desc, String page, MenuEnum penum) {
        this.code = code;
        this.desc = desc;
        this.page = page;
        this.penum = penum;
    }

    private String code;
    private String desc;
    private String page;
    private MenuEnum penum;

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public String getPage() {
        return page;
    }

    public MenuEnum getPenum() {
        return penum;
    }
}
